<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<HEAD>
     <TITLE>Text-Transform - Cascading Style Sheets Properties</TITLE>
     <link rel="stylesheet" type="text/css" href="../../../ss/2.css" id="thecss">
     <script type="text/javascript" src="../../../scripts/csschange.js"></script>
</HEAD>

<BODY onload="readSS()">

<br>
<center>
<table border=3 cellpadding=5 cellspacing=0>
<tr>
    <td rowspan=2><h1 class="pagetitle">text-transform</h1>
    <b><a href="../../../misc/suppkey.htm">Support Key:</a></b> 
    [<b><i class="fs">CSS1</i></b>|<b class="s">CSS2</b>|<b class="s">CSS2.1</b>] 
    [<b class="s">IE4B1</b>|<b><i class="fs">N4B2</i></b>|<b class="s">O3.5</b>|<b class="s">S1</b>]<br></td>
    <td colspan=2 align=center><b class="alert">Other Text Properties</b><br></td>
</tr>
<tr>
    <td valign=top><a href="wordspace.htm">word-spacing</a><br>
        <a href="letterspace.htm">letter-spacing</a><br>
        <a href="whitespace.htm">white-space</a><br>
        <a href="wordwrap.htm">word-wrap</a><br>
        <a href="textalign.htm">text-align</a><br></td>
    <td valign=top><a href="textalignlast.htm">text-align-last</a><br>
        <a href="textdec.htm">text-decoration</a><br>
        <a href="textshadow.htm">text-shadow</a><br>
        <a href="textindent.htm">text-indent</a><br>
        <a href="textunderpos.htm">text-underline-position</a><br></td>
</tr>
<tr><td align=center colspan=3>
<font size=2>= <span class="sitetitle">Index DOT Css</span> by <a 
href="../../../misc/email.htm">Brian Wilson</a> =</font><br>
</td></tr>
</table>
</center>

<div align="center">
<table cellpadding=5 cellspacing=0>
<tr>
    <td>&#160;&#160;<font size=2><a href="../../index.html">Main Index</a> |
        <a href="../../propindex/font.htm">Property Index</a> |
        <a href="../../supportkey/syntax.htm">CSS Support History</a> |
        <a href="../../../history/browsers.htm">Browser History</a></font>&#160;&#160;</td>
</tr>
</table>
</div>
<hr size=1 align="center" width="25%">

<br><br>
<table border=1 cellspacing=0 cellpadding=5>
<tr><td>
<table border=0 cellspacing=0 >
<tr>
    <th colspan=3 valign=bottom class="field"><big><u><b
        class="colheaders">&#160;&#160;&#160;Quick Statistics&#160;&#160;&#160;</b></u></big><br></th>
</tr>
<tr><th align=left><b class="l3heading">Default Value: </b><br></th>
    <td rowspan=6>&nbsp;&nbsp;</td>
    <td><b class="alert">none</b></td></tr>
<tr><th align=left><b class="l3heading">Applicable Elements: </b><br></th>
    <td>All</td></tr>
<tr><th align=left><b class="l3heading">Inherit From Parent: </b><br></th>
    <td>Yes</td></tr>
<tr><th align=left><b class="l3heading">Applicable Media: </b><br></th>
    <td>Visual</td></tr>
<tr><th align=left valign=top><b class="l3heading">HTML Equivalent: </b><br></th>
    <td>NA</td></tr>
<tr><th align=left valign=top><b class="l3heading">Official Docs: </b><br></th>
    <td><a href="http://www.w3.org/TR/REC-CSS1#text-transform">CSS1: Sect 5.4.5</a><br>
        <a href="http://www.w3.org/TR/REC-CSS2/text.html#caps-prop">CSS2: Sect 16.5</a>,
        <a href="http://www.w3.org/TR/CSS21/text.html#caps-prop">CSS2.1: Sect 16.5</a></td></tr>
</table>
</td></tr>
</table>

<dl>
<dt><big><b class="mainheading">What is it?</b></big>
    <dd>This property sets the casing style for a section of text. Content may
        not be affected if it is not in the ISO 8859-1 character set or does
        not have an applicable alternate case character to convert to.
</dl>

<dl>
<dt><br><big><b class="mainheading">Allowed Values</b></big>
<dt><b class="subheading">inherit</b></dt>
<dt>[<b><i class="fs">CSS2</i></b>|<b class="s">CSS2.1</b>] 
    [<b class="s">N6</b>|<b><i class="fs">O4</i></b>|<b class="s">S1</b>]</dt>
    <dd><b class="l3heading">Type:</b> Explicit</dd>
    <dd><b class="l3heading">Description:</b><br>
        Explicitly sets the value of this property to that of the parent.</dd>

<dt><b class="subheading">none</b></dt>
<dt>[<b><i class="fs">CSS1</i></b>|<b class="s">CSS2</b>|<b class="s">CSS2.1</b>]
    [<b class="s">IE4B1</b>|<b><i class="fs">N4B2</i></b>|<b class="s">O3.5</b>|<b class="s">S1</b>]</dt>
    <dd><b class="l3heading">Type:</b> Explicit</dd>
    <dd><b class="l3heading">Description:</b><br>
        No transforming is done. This neutralizes the inherited value.</dd>

<dt><b class="subheading">capitalize</b></dt>
<dt>[<b><i class="fs">CSS1</i></b>|<b class="s">CSS2</b>|<b class="s">CSS2.1</b>]
    [<b class="s">IE4B1</b>|<b><i class="fs">N4B2</i></b>|<b class="s">O3.5</b>|<b class="s">S1</b>]</dt>
    <dd><b class="l3heading">Type:</b> Explicit</dd>
    <dd><b class="l3heading">Description:</b><br>
        Uppercases the first letter of every word.</dd>

<dt><b class="subheading">uppercase</b></dt>
<dt>[<b><i class="fs">CSS1</i></b>|<b class="s">CSS2</b>|<b class="s">CSS2.1</b>]
    [<b class="s">IE4B1</b>|<b><i class="fs">N4B2</i></b>|<b class="s">O3.5</b>|<b class="s">S1</b>]</dt>
    <dd><b class="l3heading">Type:</b> Explicit</dd>
    <dd><b class="l3heading">Description:</b><br>
        All text in the section is forced to upper case.</dd>

<dt><b class="subheading">lowercase</b></dt>
<dt>[<b><i class="fs">CSS1</i></b>|<b class="s">CSS2</b>|<b class="s">CSS2.1</b>]
    [<b class="s">IE4B1</b>|<b><i class="fs">N4B2</i></b>|<b class="s">O3.5</b>|<b class="s">S1</b>]</dt>
    <dd><b class="l3heading">Type:</b> Explicit</dd>
    <dd><b class="l3heading">Description:</b><br>
        All text in the section is forced to lower case.</dd>
</dl>

<dl>
<dt><big><b class="mainheading">Example</b></big>
    <dd><div class="example">Ext/Doc: <b class="selector">div</b> {
        <span class="property">text-transform:</span> capitalize }</div>
    <dd><div class="example">In-Line:&#160; &lt;<b class="tagname">div</b>
        <span class="tagattrib">STYLE</span>=&quot;<span
        class="property">text-transform:</span> capitalize&quot;&gt;This
        is a capitalization test.&lt;/<b class="tagname">div</b>&gt;</div>
</dl>

<big><b class="mainheading">Notes</b></big>
<ul>
    <li><b class="alert">CSS1 Conformance:</b> Any element with content not
        from the ISO-8859-1 character set may ignore this property (treat it
        as though the value were set to "none".)
    <li>The "capitalize" value only appears to act upon the first characters
        of each word. If characters other than the first character in a word
        are already capitalized, they will remain capitalized (eg: if a phrase
        is all-caps, it will remain all-caps if this property value is applied.)
</ul>

<big><b class="mainheading">Browser Peculiarities</b></big>
<ul>
    <li><b class="alert">Netscape</b>
        <dl>
            <dd><b class="alert2">4.x:</b>
            <dd>- Non-ASCII characters with different upper/lower case versions
                can not be transformed with this property.
            <dd>- When a word contains a nested element, the first character in
                the word following the nested element will use the value of the
                'text-transform' property. (eg: &lt;<b class="tagname">span</b>
                <span class="tagattrib">STYLE</span>="text-transform:
                capitalize"&gt;text&lt;<b class="tagname">b</b>&gt;foo&lt;/<b
                class="tagname">b</b>&gt;zoo&lt;/<b class="tagname">span</b>&gt; would
                result in the letter "z" being capitalized in addition to the first
                letter "T".)
            <dd>- The non-breaking space (&amp;nbsp;/&amp;#160;) is not
                considered to be a word breaking character - it should be.
            <dd>- This property does not inherit to child elements like it should.
        </dl>
    <li><b class="alert">Opera</b>
        <dl>
            <dd><b class="alert2">3.5:</b>
            <dd>- The non-breaking space (&amp;nbsp;/&amp;#160;) is not
                considered to be a word breaking character - it should be.
        </dl>
</ul>

<br><br>
<a href="../../../misc/copyright.htm">Boring Copyright Stuff....</a>
<br>

</BODY>
</HTML>